﻿<aside ng-controller="HomeController">
    <mycarousel interval="interval" class="custom-carousel" id="my-custom-carousel">
        <myslide ng-repeat="slide in slides" active="slide.active" actiontitle="{{item.caption.learnMore}}" action="action($index)" actionbg="{{slide.bg}}" title="{{slide.title}}">
            <img ng-src="{{slide.image}}" style="margin:auto;">
            <div class="carousel-caption">
                <p>{{slide.text}}</p>
            </div>
        </myslide>
    </mycarousel>
</aside>